home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AOL File Library: 2,401 to 2,500
/
aol-file-protocol-4400-2401-to-2500.zip
/
AOLDLs
/
Music Programmers Library
/
Belch! Source Code
/
info.txt
< prev
Wrap
Text File
|
2014-09-23
|
949b
|
38 lines
Subject: Belch! Source Code
Author: Andrew Welch
Uploaded By: AndrewWelc
Date: 3/16/1991
File: Belch.sit (80292 bytes)
Estimated Download Time (25094 baud): < 1 minute
Download Count: 477
Equipment: Mac Plus, System 6.0.2 or greater
Needs: THINK C
Keywords: ASYNCHRONOUS SOUND SND SNDPLAY PATCHING TRAP
TYPE: INIT & source
-----------------
Keywords: ASYNCHRONOUS SOUND SND SNDPLAY PATCHING TRAP
Here's the source code to Belch!, a little INIT I wrote which causes your Macintosh to emit a loud and obnoxious belch at random intervals.
It is written in THINK C, and demonstrates some interesting programming:
+ Patching a trap properly
+ Playing Asynch sounds from a code resource
Hope you enjoy it,
Andrew
---------------------------------------------------------
Macintosh Developer Forum Libraries. Go Keyword: MDV
This file has been checked for known viruses with SAM 2.0